﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 图形
{
    class Circle:Sharp
    {
        private double radius;

        public double Radius { get => radius; set => radius = value; }

        public override void GetArea()
        {
            base.GetArea();
            double result = this.Radius * this.Radius * 3.14;
            Console.WriteLine("我是个{0}的⚪，⚪的面积{0}",result,base.Color);
        }
    }
}
